package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 水质监测站点对象 credit_water_station
 * 
 * @author ruoyi
 * @date 2024-01-26
 */
public class CreditWaterStation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 站点ID */
    private Long stationId;

    /** 站点名称 */
    @Excel(name = "站点名称")
    private String stationName;

    /** 站点位置 */
    @Excel(name = "站点位置")
    private String stationLocation;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 水质等级 */
    @Excel(name = "水质等级")
    private String waterQuality;

    /** 最后检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastTestDate;

    /** 下次检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次检测时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextTestDate;

    /** 是否可用 */
    @Excel(name = "是否可用")
    private String isAvailable;

    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }
    public void setStationLocation(String stationLocation) 
    {
        this.stationLocation = stationLocation;
    }

    public String getStationLocation() 
    {
        return stationLocation;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setWaterQuality(String waterQuality) 
    {
        this.waterQuality = waterQuality;
    }

    public String getWaterQuality() 
    {
        return waterQuality;
    }
    public void setLastTestDate(Date lastTestDate) 
    {
        this.lastTestDate = lastTestDate;
    }

    public Date getLastTestDate() 
    {
        return lastTestDate;
    }
    public void setNextTestDate(Date nextTestDate) 
    {
        this.nextTestDate = nextTestDate;
    }

    public Date getNextTestDate() 
    {
        return nextTestDate;
    }
    public void setIsAvailable(String isAvailable) 
    {
        this.isAvailable = isAvailable;
    }

    public String getIsAvailable() 
    {
        return isAvailable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stationId", getStationId())
            .append("stationName", getStationName())
            .append("stationLocation", getStationLocation())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("waterQuality", getWaterQuality())
            .append("lastTestDate", getLastTestDate())
            .append("nextTestDate", getNextTestDate())
            .append("isAvailable", getIsAvailable())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 